import Layout from '@/layout'

export const routes = [
  {
    path: '/oa/fill',
    component: Layout,
    children: [
      {
        path: '/oa/fill/add',
        component: () => import('@/OA/views/fillIn/fillInEdit'),
        name: 'fillAdd',
        hidden: true,
        meta: { title: '新增填报单', affix: false }
      },
      {
        path: '/oa/fill/edit/:id',
        component: () => import('@/OA/views/fillIn/fillInEdit'),
        name: 'fillEdit',
        hidden: true,
        meta: { title: '编辑填报单', affix: false }
      }
    ]
  },
  {
    path: '/oa/user/fill',
    component: Layout,
    children: [
      {
        path: '/oa/user/fill/:id',
        component: () => import('@/OA/views/userFill/userFillEdit'),
        name: 'userFillEdit',
        hidden: true,
        meta: { title: '用户填报', affix: false }
      }
    ]
  }
]
